From: Jasper St. Pierre Date: Wed, 27 Apr 2011 16:53:33 +0000 (-0400) Subject: Revert "shell-app: Fix a case where last_user_time isn't updated." X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8294 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=68710c4647dace88159e900dd1445a9ed15bb3f4;p=gnome-shell.git Revert "shell-app: Fix a case where last_user_time isn't updated." This reverts commit 7d7cbde1f3909c719559a76472df0b1b363960b2. This was acidentally pushed. --- diff --git a/src/shell-app.c b/src/shell-app.c index 301f01e97..7dff44106 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -415,16 +415,6 @@ shell_app_activate_window (ShellApp *app, meta_window_get_user_time (most_recent_transient))) window = most_recent_transient; - - if (!shell_window_tracker_is_window_interesting (window)) - { - /* We won't get notify::user-time signals for uninteresting windows, - * which means that an app's last_user_time won't get updated. - * Update it here instead. - */ - app->running_state->last_user_time = timestamp; - } - if (active != workspace) meta_workspace_activate_with_focus (workspace, window, timestamp); else